Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support native console in linux aarch64 for JRuby #41

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

PChambino
Copy link
Contributor

I am running JRuby on a Linux aarch64.

I can see the io/console/ffi/stty_console is being loaded based on the warning message:
"io/console on JRuby shells out to stty for most operations"

If I manually require io/console/ffi/native_console it fails due to the platform guard at the top of the file.

However, if I remove that guard it, it loads and works fine in my brief testing.

In #40, @headius confirmed there is no reason not to allow aarch64, so adding it in this PR. Closes #40.

I am running JRuby on a Linux aarch64.

I can see the `io/console/ffi/stty_console` is being loaded based on the warning message:
"io/console on JRuby shells out to stty for most operations"

If I manually require `io/console/ffi/native_console` it fails due to the
platform guard at the top of the file.

However, if I remove that guard it, it loads and works fine in my brief testing.

In ruby#40, @headius confirmed there is no reason not to allow aarch64, so
adding it in this PR. Closes ruby#40.
@headius headius merged commit fb3d7bb into ruby:master Mar 16, 2023
@headius
Copy link
Contributor

headius commented Mar 16, 2023

Thank you!

@PChambino PChambino deleted the support-linux-aarch64-for-jruby branch March 17, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

IO.console is missing with JRuby on Linux aarch64
2 participants